package crawler;

public abstract class Pipe {
	
	protected NVQueue<String> pendingWebs;
	protected boolean full;
	protected boolean request;
	
	public Pipe() {
		full = false;
		request = false;;
	}
	
	public synchronized boolean getRequest() {
		return request;
	}

	public synchronized void setRequest(boolean _request) {
		request = true;
	}
	
	public abstract void sendPendindgWebs(NVQueue<String> _pendingWebs);
	
	public abstract NVQueue<String> receivePendingWebs();

}